package com.cardvalue.sys.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.ImageView;

import com.cardvalue.sys.R;
import com.cardvalue.sys.activity.ShowUserInfo;
import com.cardvalue.sys.base.BaseFragment;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 账户  第二个tab
 * Created by cardvalue on 2016/4/1.
 */
public class MyAccountFragment extends BaseFragment{
    private View view;
    @Bind(R.id.iv_right) ImageView iv_right;//设置按钮

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view=inflater.inflate(R.layout.fragment_myaccount,container,false);
        ButterKnife.bind(this,view);
        return view;
    }


    @OnClick(R.id.iv_right) void onclickSetting(){
        startActivity(new Intent(getActivity(), ShowUserInfo.class));

    }
    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        setHeaderFields(0, R.string.my_account,0,0, 0,R.mipmap.shangchuan);
        super.onActivityCreated(savedInstanceState);
    }
}
